package com.dtw.ditouwang.beans;

import java.util.List;

public class HelpBean {

    /**
     * flag : Success
     * msg : 查询成功
     * result : true
     * data : {"hot":[{"id":1,"title":"css","is_type":0}],"question_type":[{"id":1,"title":"测试1","img":"/public/uploads/20190121/c843620468fd08f6ada74d8b1f77ddcf.jpg","is_type":1},{"id":2,"title":"参数2222","img":"/public/uploads/20190121/b60f2035b8c10eb172839a20119b7b1d.jpg","is_type":1}]}
     */

    private String flag;
    private String msg;
    private boolean result;
    private DataBean data;

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<SubDataBean> hot;
        private List<SubDataBean> question_type;

        public List<SubDataBean> getHot() {
            return hot;
        }

        public void setHot(List<SubDataBean> hot) {
            this.hot = hot;
        }

        public List<SubDataBean> getQuestion_type() {
            return question_type;
        }

        public void setQuestion_type(List<SubDataBean> question_type) {
            this.question_type = question_type;
        }

        public static class SubDataBean {
            /**
             * id : 1
             * title : 测试1
             * img : /public/uploads/20190121/c843620468fd08f6ada74d8b1f77ddcf.jpg
             * is_type : 1
             */

            private int id;
            private String title;
            private String img;
            private int is_type;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public int getIs_type() {
                return is_type;
            }

            public void setIs_type(int is_type) {
                this.is_type = is_type;
            }
        }
    }
}
